<?php if ( ! defined('BASEPATH')) exit('No direct script access allowed');

class entry extends Front_Controller 
{  
	public function index() 
	{
        $this->load->model('article_manager');
        $this->load->model('article_class_manager');
        $this->load->model('site_info_manager');
        $this->load->model('menu_manager');


		$entry_html = $this->load->view('front/v_entry',array(),true);
        $this->cache->save('entry-index.html', $entry_html, 3600*24*360);
        echo $entry_html;
	}   
	
	public function snoopy()
	{
		$this->load->library('snoopy');
		echo $this->snoopy->r_fetch('http://www.baidu.com');
		//echo $this->snoopy->results;
	}
} 

?> 
